package com.jy.rhin.facade.ws.document.retrieve;

import cn.org.chiss.rhin._2015.document.management.DocumentStoredQuery;
import cn.org.chiss.rhin._2015.document.management.DocumentStoredQueryResponse;
import cn.org.chiss.rhin._2015.document.repository.RetrieveDocumentSet;
import cn.org.chiss.rhin._2015.document.repository.RetrieveDocumentSetResponse;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import static com.jy.rhin.config.NamespaceConstants.NS_RHIN;

/**
 * This class was generated by Apache CXF 3.5.1
 * 2022-04-20T10:15:25.334+08:00
 * Generated source version: 3.5.1
 * 健康档案调阅服务
 *
 * @author dhl
 */
@WebService(targetNamespace = NS_RHIN, name = "DocumentRetrieve")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface DocumentRetrieve {

    /**
     * 获取文档索引
     *
     * @param document
     * @return
     */
    @WebMethod(operationName = "RetrieveDocumentSet", action = "RetrieveDocumentSet")
    @WebResult(name = "RetrieveDocumentSetResponse", targetNamespace = NS_RHIN, partName = "document")
    RetrieveDocumentSetResponse retrieveDocumentSet(

            @WebParam(partName = "document", name = "RetrieveDocumentSet", targetNamespace = NS_RHIN)
                    RetrieveDocumentSet document
    );

    /**
     * 文档集获取
     * 备注：该接口实在管理服务wsdl文件上
     *
     * @param message
     * @return
     */
    @WebMethod(operationName = "DocumentStoredQuery", action = "DocumentStoredQuery")
    @WebResult(name = "DocumentStoredQueryResponse", targetNamespace = NS_RHIN, partName = "message")
    DocumentStoredQueryResponse documentStoredQuery(

            @WebParam(partName = "message", name = "DocumentStoredQuery", targetNamespace = NS_RHIN)
                    DocumentStoredQuery message
    );

}
